/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.business.customer.facade.info;

import info.peigen.hotpot.business.customer.facade.enums.CustomerLevelType;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import lombok.experimental.SuperBuilder;

import static info.peigen.hotpot.business.customer.facade.enums.CustomerLevelType.Bronze;

/**
 * <b>(CustomerLevelInfo)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2022/6/28
 */
@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
public class CustomerLevelInfo {
    /** 积分 */
    @Builder.Default
    Long              customerScore = 0L;
    /** 级别 */
    @Builder.Default
    CustomerLevelType level         = Bronze;
}